<?php
/**
 * @file			realTimeHook.class.php
 * @CopyRight		(C)1996-2099 SINA Inc.
 * @Project			自游网
 * @Author			liujz <jianzhou@staff.sina.com.cn>
 * @Create Date:	2012-01-09
 * @Modified By:	jianzhou/2012-01-09
 * @Brief			系统实时广播Hooks
 */
class realTimeHook_class 
{
	
	/**
	 * 实时队列,解耦合
	 * @param $hook_name
	 * @param $params
	 */
	function bootstrap($hook_name, $params)
	{
		if ( method_exists($this, $hook_name) ) {
			$rs = call_user_func_array(array($this, $hook_name), $params);
		}
	}
}